package com.heiye.quiz.biz.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author: heiye
 * @date: 2025/05/08 上午9:04
 * @version: v1.0.0
 * @description: 点赞、取消点赞笔记
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LikeUnlikeQuizMqDTO {
    private Long userId;

    private Long quizId;

    /**
     * 0: 取消点赞， 1：点赞
     */
    private Integer type;

    private LocalDateTime createTime;

    /**
     * 问题发布者 ID
     */
    private Long quizCreatorId;
}
